import request from '@/utils/request'

// 查询项目信息列表
export function listManagerSubject(query) {
  return request({
    url: '/manager/managerSubject/list',
    method: 'get',
    params: query
  })
}

// 查询项目信息列表
export function listallManagerSubject(query) {
  return request({
    url: '/manager/managerSubject/listall',
    method: 'get',
    params: query
  })
}

// 查询项目信息详细
export function getManagerSubject(id) {
  return request({
    url: '/manager/managerSubject/' + id,
    method: 'get'
  })
}


// 新增项目信息
export function addManagerSubject(data) {
  return request({
    url: '/manager/managerSubject',
    method: 'post',
    data: data
  })
}

// 修改项目信息
export function updateManagerSubject(data) {
  return request({
    url: '/manager/managerSubject',
    method: 'put',
    data: data
  })
}


// 删除项目信息
export function delManagerSubject(id) {
  return request({
    url: '/manager/managerSubject/' + id,
    method: 'delete'
  })
}

